home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PsL Monthly 1993 December
/
PSL Monthly Shareware CD-ROM (December 1993).iso
/
prgmming
/
dos
/
c
/
tcclib.exe
/
lha
/
REPCHAR.C
< prev
next >
Wrap
C/C++ Source or Header
|
1990-01-31
|
292b
|
18 lines
unsigned char far *CurrentPos( void );
extern unsigned char attrib;
void TcclibInitialize( void );
void RepChar( int times, unsigned char c )
{
unsigned char far *scptr = CurrentPos();
TcclibInitialize();
while ( times-- ) {
*scptr++ = c;
*scptr++ = attrib;
}
}